<template>
    <div>
        {{ count }}
    </div>
</template>

<script>
import { defineComponent, reactive } from 'vue'

export default defineComponent({
    setup() {
        return reactive({
            count: 0,
            count1: 0,
            count2: 0,
            count3: 0,
        });
    },
    mounted () {
        setInterval(() => {
            this.count++;
        }, 1000);
    },
})
</script>
